package com.tql.pandian.service;

import com.ruoyi.common.datasource.annotation.Master;
import com.tql.pandian.entity.TqlHllShopBillFoodPeriod;
import com.tql.pandian.entity.TqlStapProloss;
import com.tql.pandian.entity.dto.SimpleDto;
import com.tql.pandian.vo.TqlPandianPeriodVO;
import com.tql.pandian.vo.TqlStapProlossItemVO;

import java.text.ParseException;
import java.util.List;

public interface IGenCostAnalysService {

//    void gen(String pandianCode) throws ParseException;

    List<TqlStapProlossItemVO> selectInChange(Integer month, String deptCode, String stapCode, Long std, Long etd);

    List<TqlStapProlossItemVO> selectInChangeData(Integer month, List<String> deptCodes, List<String> stapCodes,String paramDate);

    List<Boolean> getGenStatus();

    void regen(String pandianCode) throws ParseException;

    int enrichData(String pcode);

    List<TqlHllShopBillFoodPeriod> insertBillFoodPeriodFromBillFoodReport(String pandianCode, TqlPandianPeriodVO period) throws ParseException;
    @Master
    void insertBomcardAnalys(String pandianCode, List<TqlHllShopBillFoodPeriod> periodData, List<TqlStapProloss> prolossData) throws ParseException;
    @Master
    List<TqlStapProloss> insertProloss(String pandianCode, TqlPandianPeriodVO period) throws ParseException;

    @Master
    List<TqlHllShopBillFoodPeriod> selectBillFoodPeriod(String pandianCode);

    @Master
    List<TqlStapProloss> selectProloss(String pandianCode);
}
